negotiator
Class NegotiationOutcome
java.lang.Object
negotiator.NegotiationOutcome
public class NegotiationOutcome
- extends java.lang.Object
- Author:
- dmytro
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
agentAname
public java.lang.String agentAname
agentBname
public java.lang.String agentBname
agentAclass
public java.lang.String agentAclass
agentBclass
public java.lang.String agentBclass
agentAutility
public java.lang.Double agentAutility
agentButility
public java.lang.Double agentButility
agentAutilityDiscount
public java.lang.Double agentAutilityDiscount
agentButilityDiscount
public java.lang.Double agentButilityDiscount
ErrorRemarks
public java.lang.String ErrorRemarks
AgentABids
public ArrayListXML<BidPointTime> AgentABids
AgentBBids
public ArrayListXML<BidPointTime> AgentBBids
agentAmaxUtil
public java.lang.Double agentAmaxUtil
agentBmaxUtil
public java.lang.Double agentBmaxUtil
agentAstarts
public boolean agentAstarts
agentAutilSpaceName
public java.lang.String agentAutilSpaceName
agentButilSpaceName
public java.lang.String agentButilSpaceName
additional
public SimpleElement additional
trajectoryMeasures
public SimpleElement trajectoryMeasures
qualityMeasures
public SimpleElement qualityMeasures
extraNames
public java.util.List<java.lang.String> extraNames
extraValues
public java.util.List<java.lang.String> extraValues
time
public double time
domainName
public java.lang.String domainName
NegotiationOutcome
public NegotiationOutcome(AlternatingOffersBilateralAtomicNegoSession alternatingOffersBilateralAtomicNegoSession,
int runNumber,
Action lastAction,
java.util.ArrayList<BidPointTime> agentASize,
java.util.ArrayList<BidPointTime> agentBSize,
boolean startingWithA,
SimpleElement additional,
double distanceToNash,
OutcomeInfo outcomeInfo)
- Creates a new instance of NegotiationOutcome
- Parameters:
alternatingOffersBilateralAtomicNegoSession - lastAction - string - time - distanceToNash - utilBDiscount - utilADiscount -
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getAgentABids
public ArrayListXML<BidPointTime> getAgentABids()
getAgentBBids
public ArrayListXML<BidPointTime> getAgentBBids()
getFYU
public static double getFYU(java.lang.String agentX,
BidSpace bidSpace)
- Gets the Full Yield Utility of the agent.
Definition of FYU for agent A:
let X be the optimal bid for agent B (with utility 1). Then the utility of X for agent A is its FYU.
addExtraAttribute
public void addExtraAttribute(java.lang.String name,
java.lang.String value)
toXML
public SimpleElement toXML()
- Does not include bid history in log file.
toXMLWithBids
public SimpleElement toXMLWithBids()
- Includes bid history in log file.
getRunNr
public int getRunNr()
setRunNr
public void setRunNr(int runNr)
getAgentAFirst
public boolean getAgentAFirst()
setNegotiationOutcome
public void setNegotiationOutcome(OpponentModelMeasuresResults omMeasuresResults)
getAcceptedBid
public java.lang.String getAcceptedBid()